package homework;

import java.util.HashSet;
@SuppressWarnings({"all"})

public class HomeWork06 {
    HashSet set = new HashSet();
//    Student student1 = new Student("小白",01);
//    Student student2 = new Student("小青",02);






}
class Student{
    private String name;
    private int id;

    public Student(String name, int id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}